package com.example.hydropowermanage.pojo;

/**
 * 用户实体类
 */
public class User123 {
    /** ID*/
    private int id;

    /** 用户名*/
    private String username;

    /** 密码*/
    private String pwd;

    /** 门牌号*/
    private String houseNumber;

    /** 用水量*/
    private double waterConsumption;

    /** 用电量*/
    private double powerConsumption;

    /** 水单价（吨）*/
    private double waterPrice;

    /** 电单价（度）*/
    private double electricityPrice;

    private double totalCost;

    /** 状态（0-超级管理员 1-普通用户）*/
    private int state;

    /** 用户头像地址*/
    private String userAvaterurl;

    public double getTotalCost() {
        return totalCost;
    }

    public void setTotalCost(double totalCost) {
        this.totalCost = totalCost;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getHouseNumber() {
        return houseNumber;
    }

    public void setHouseNumber(String houseNumber) {
        this.houseNumber = houseNumber;
    }

    public double getWaterConsumption() {
        return waterConsumption;
    }

    public void setWaterConsumption(double waterConsumption) {
        this.waterConsumption = waterConsumption;
    }

    public double getPowerConsumption() {
        return powerConsumption;
    }

    public void setPowerConsumption(double powerConsumption) {
        this.powerConsumption = powerConsumption;
    }

    public double getWaterPrice() {
        return waterPrice;
    }

    public void setWaterPrice(double waterPrice) {
        this.waterPrice = waterPrice;
    }

    public double getElectricityPrice() {
        return electricityPrice;
    }

    public void setElectricityPrice(double electricityPrice) {
        this.electricityPrice = electricityPrice;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }
    public String getUserAvatarUrl() {
        return userAvaterurl;
    }

    public void setUserAvatarUrl(String userAvatarUrl) {
        this.userAvaterurl = userAvatarUrl;
    }

    @Override
    public String toString() {
        return "User123{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", pwd='" + pwd + '\'' +
                ", houseNumber='" + houseNumber + '\'' +
                ", waterConsumption=" + waterConsumption +
                ", powerConsumption=" + powerConsumption +
                ", waterPrice=" + waterPrice +
                ", electricityPrice=" + electricityPrice +
                ", totalCost=" + totalCost +
                ", state=" + state +
                ", user_avaterurl='" + userAvaterurl + '\'' +
                '}';
    }
}
